/* 蒙层区域 */
.mask {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    /* 改变蒙层的层级 层级高就显示在上面 */
    z-index: 999;
    display: none;
}

/* API顶部 */
.top-main a {
    color: #666666;
}

.top-a1 {
    width: 58px;
    border: 1px solid #ccc;
    border-radius: 29px;
    margin-right: 10px;
    color: #666666;
}

.top-a2 {
    display: inline-block;
    height: 30px;
    color: #fff;
    text-align: center;
    line-height: 30px;
    margin-top: 18px;
    font-size: 12px;
}

.top-main a.on,
.top-main a:hover {
    color: #00bdff;
}

.top-main a.on::after,
.top-main a:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #00bdff;
    bottom: -30px;
    left: 50%;
    margin-left: -50%;
}

/* API分类 */
.API-box {
    padding-top: 80px;
}

.btn-list a {
    padding: 5px 15px;
    border: 1px solid #ccc;
    margin-right: 15px;
    margin-top: 10px;
    display: inline-block;
    color: #999;
    border-radius: 10px;
    font-size: 12px;
}

.btn-list a:hover {
    color: #00bdff;
    border: 1px solid #00bdff;
}

.btn-list .active {
    color: #00bdff;
    border: 1px solid #00bdff;
}

.btn-list .bold {
    font-weight: bold;
}

label.container {
    display: block;
    margin: 30px auto;
}

.label-input {
    margin-left: 20px;
    width: 230px;
    height: 30px;
    border-radius: 115px;
    outline: none;
    padding-left: 15px;
    border: none;
    background-color: #f4f4f4;
    background-image: url(../images/magnifier.png);
    background-position: 212px 7px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.label-input::placeholder {
    font-size: 10px;
}

.form-box {
    width: 120px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    line-height: 120px;
    position: absolute;
    top: 187px;
    left: 34%;
    font-size: 14px;
    color: #fff;
    display: none;
}

.form-box1 {
    width: 120px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    line-height: 120px;
    position: absolute;
    top: 187px;
    left: 34%;
    font-size: 14px;
    color: #fff;
}

.label-span {
    font-size: 14px;
    color: #3d3e3e;
}

/* api列表 */
.api-list li {
    width: 228px;
    height: 268px;
    border: 1px solid #999;
    box-sizing: border-box;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
    padding-top: 56px;
    transition: all 0.5s;

}

.api-list li:nth-child(5n) {
    margin-right: 0;
}

.api-list li span {
    font-size: 14px;
    color: #00bdff;
    background: #e5f8ff;
    position: absolute;
    top: 10px;
    left: 10px;
}

.api-list .title {
    font-size: 12px;
    color: #666666;
    margin: 15px 0 10px 0;
}

.api-list .price {
    font-size: 16px;
}

.red {
    color: red;
}

.green {
    color: green;
}

.api-list button {
    width: 192px;
    height: 32px;
    background: #00bdff;
    color: #fff;
    border: none;
    position: absolute;
    bottom: -50px;
    left: 50%;
    /* margin-left: -96px; */
    /* transform: translate(x轴的偏移,y轴的偏移); */
    /* 自身宽度的50% */
    transform: translateX(-50%);
    opacity: 0;
}

.api-list li:hover {
    padding-top: 36px;
}

.api-list li:hover button {
    bottom: 20px;
    transition: all 0.5s;
    opacity: 1;
}

/* API分页 */
.page {
    text-align: center;
    margin: 0 auto;
    width: 800px;
    margin-top: 50px;
}

.page a {
    display: inline-block;
    line-height: 26px;
}

.page-link,
.page-link-on {
    width: 26px;
    height: 26px;
    border-radius: 13px;
}

.page-link {
    color: #000052;
}

.page-link-on {
    color: #fff;
    background-color: #00bdff;
}

.page-link-next {
    width: 60px;
    color: #00bdff;
}

.page-link:hover {
    color: #fff;
    background-color: #00bdff;
}

/* 底部的背景色 */
.footer {
    background-color: #f8f8f8;
    margin-top: 70px;
    width: 100%;
}

.footer .footer-left-h1 {
    padding-top: 60px;
}

.footer .footer-right {
    padding-top: 60px;
}

.footer .footer-box1 a,
.footer .footer-box2 a,
.footer .footer-box3 a,
.footer .footer-box4 a {
    color: #b3b3b3;
    padding-top: 15px;
    font-size: 10px;
    text-align: left;
}

.footer .footer-box5 a {
    color: #b3b3b3;
    padding-top: 15px;
    font-size: 10px;
    text-align: left;
}

.footer .footer-a {
    margin-top: 34px;
}

.footer .footer-left-h1 {
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    color: #181818;
}

/* 登录页面 */
.right {
    width: 420px;
    height: 530px;
    position: absolute;
    text-align: center;
    background-color: #fff;
    z-index: 1111111111;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.right-img {
    margin-bottom: 42px;
}

.bigbox {
    display: none;
}

.active-left,
.active-right {
    color: #555555;
    display: inline-block;

}

.on {
    position: relative;
    color: #00bdff;
}

.on::after {
    content: "";
    background-color: #00bdff;
    width: 50px;
    height: 4px;
    top: 28px;
    position: absolute;
    left: 6px;
}

.content-dark {
    display: none;
    margin-top: 50px;
    margin-left: 50px;
}

.right-main-on {
    content: "";
    width: 2px;
    height: 10px;
    background-color: #eeeeee;
    display: inline-block;
    margin-left: 28px;
    margin-right: 28px;
}

form {
    text-align: center;
}

.username,
.pwd {
    display: block;
    border: 0;
    outline: none;
}

.username {
    line-height: 24px;
    height: 27px;
}

.main-username {
    width: 380px;
    margin-left: 20px;
    margin-top: 30px;
    border-bottom: 1px solid #ccc;
}

.main-pwd {
    width: 380px;
    /* padding-top: 26px; */
    border-bottom: 1px solid #ccc;
    padding-bottom: 0px;
    margin-left: 20px;
}

.main-username-img {
    position: absolute;
    right: 25px;
    top: 30%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

.username,
.pwd {
    display: block;
    border: 0;
    outline: none;
}

.main-pwd-img {
    position: absolute;
    right: 26px;
    top: 39%;
    transform: translateY(84%);
    cursor: pointer;
    display: none;
}

.form-pwd {
    background-image: url(../images/loginIcon.png);
    padding-right: 8px;
    width: 25px;
    height: 24px;
    display: inline-block;
    background-position: -24px -3px;
    margin-top: 44px;
    vertical-align: 20px;
}

.pwd {
    padding-top: 49px;
}

.main-p {
    margin-left: 320px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.forget {
    color: #00bdff;
    font-size: 14px;

}

.pwd::placeholder {
    height: 27px;
    line-height: 30px;
}

.form-name {
    background-image: url(../images/loginIcon.png);
    background-position: -52px -1px;
    display: inline-block;
    width: 25px;
    height: 24px;
    padding-right: 8px;
}



.username::placeholder {
    font-size: 10px;
}

.pwd::placeholder {
    font-size: 10px;
}

.btn {
    width: 380px;
    background-color: #03c5ff;
    color: #fff;
    height: 46px;
    line-height: 46px;
    border: none;
}

.login-p1 {
    font-size: 14px;
    margin-top: 18px;
    color: #909090;
    padding-left: 112px;
}

.login-p1 a {
    color: #00bdff;
}

.login-spirit {
    background-image: url(../images/loginIcon.png);
    background-position: -57px -37px;
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-left: 4px;
}

.right-content {
    /* visibility: hidden; */
    /* display: none; */
}

/* 扫码登陆内容 */
.content-dark {
    height: 240px;
    width: 290px;
    background-color: #fcfcfc;
    margin-top: 50px;
    margin-left: 65px;
    /* margin: auto; */

}

.content-dark-img {
    width: 104px;
    height: 104px;
    /* left: 50%;
    margin-left: 94px; */
    text-align: center;
    padding-top: 38px;
}

.content-dark-p {
    text-align: center;
    font-size: 14px;
    padding-top: 20px;
}

.login-p {
    text-align: left;
}